package cn.stronglink.oil.entity;

import java.util.List;

/**
 * Created by Tgb on 2017/10/18.
 * 气体历史列表信息
 */

public class GasHistoryInfo {
    private List<GasHistorysBean> gasHistorys;
    private List<GasTypesBean> gasTypes;

    public List<GasHistorysBean> getGasHistorys() {
        return gasHistorys;
    }

    public void setGasHistorys(List<GasHistorysBean> gasHistorys) {
        this.gasHistorys = gasHistorys;
    }

    public List<GasTypesBean> getGasTypes() {
        return gasTypes;
    }

    public void setGasTypes(List<GasTypesBean> gasTypes) {
        this.gasTypes = gasTypes;
    }

    public static class GasHistorysBean {
        /**
         * controlDeviceSerial : /GPVLG22/CN1296661B0010/
         * createTime : 1508317651000
         * gasType : 5
         * gasName : 氧气
         * gasValue : 20.9
         */

        private String controlDeviceSerial;
        private long createTime;
        private int gasType;
        private String gasName;
        private double gasValue;

        public String getControlDeviceSerial() {
            return controlDeviceSerial;
        }

        public void setControlDeviceSerial(String controlDeviceSerial) {
            this.controlDeviceSerial = controlDeviceSerial;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public int getGasType() {
            return gasType;
        }

        public void setGasType(int gasType) {
            this.gasType = gasType;
        }

        public String getGasName() {
            return gasName;
        }

        public void setGasName(String gasName) {
            this.gasName = gasName;
        }

        public double getGasValue() {
            return gasValue;
        }

        public void setGasValue(double gasValue) {
            this.gasValue = gasValue;
        }
    }

    public static class GasTypesBean {
        /**
         * id : 1
         * gasType : 50
         * unit : %LEL
         * low : 25.0
         * up : 50.0
         * alertType : 2
         * gasName : 可燃气体
         * gasmic : keranqiti
         */

        private int id;
        private int gasType;
        private String unit;
        private double low;
        private double up;
        private int alertType;
        private String gasName;
        private String gasmic;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGasType() {
            return gasType;
        }

        public void setGasType(int gasType) {
            this.gasType = gasType;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public double getLow() {
            return low;
        }

        public void setLow(double low) {
            this.low = low;
        }

        public double getUp() {
            return up;
        }

        public void setUp(double up) {
            this.up = up;
        }

        public int getAlertType() {
            return alertType;
        }

        public void setAlertType(int alertType) {
            this.alertType = alertType;
        }

        public String getGasName() {
            return gasName;
        }

        public void setGasName(String gasName) {
            this.gasName = gasName;
        }

        public String getGasmic() {
            return gasmic;
        }

        public void setGasmic(String gasmic) {
            this.gasmic = gasmic;
        }
    }
}
